#pragma once
#include "stdafx.h"
#include "Application.h"
#include "MonkeyScene.h"
#include "Menu.h"
#include <HSModel\World.h>
#include <HSModel\Picker.h>
#include <HSModel\WorldUpdater.h>
#include "SceneController.h"

namespace Utilities
  {
  CEGUI::MouseButton ConvertButton(OIS::MouseButtonID buttonID);
  }

class CeguiEventListener : public InputSubscriber
  {
  private:
    Application& m_application;
  
  public:
    CeguiEventListener(Application& i_application);
    virtual bool KeyPressed(const OIS::KeyEvent &keyEventRef) override;

    virtual bool KeyReleased(const OIS::KeyEvent &keyEventRef) override;

    virtual bool MouseMoved(const OIS::MouseEvent &evt) override; 
    virtual bool MousePressed(const OIS::MouseEvent &evt, OIS::MouseButtonID id) override;
    virtual bool MouseReleased(const OIS::MouseEvent &evt, OIS::MouseButtonID id) override;
  };

